home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 24 / AACD 24.iso / AACD / System / ReqToolsLib / Source / reqtools / amigaincludesforgcc / inline / reqtools.h
Encoding:
C/C++ Source or Header  |  2001-07-02  |  6.3 KB  |  162 lines

  1. /* Automatically generated header! Do not edit! */
  2.  
  3. #ifndef _INLINE_REQTOOLS_H
  4. #define _INLINE_REQTOOLS_H
  5.  
  6. #ifndef __INLINE_MACROS_H
  7. #include <inline/macros.h>
  8. #endif /* !__INLINE_MACROS_H */
  9.  
  10. #ifndef REQTOOLS_BASE_NAME
  11. #define REQTOOLS_BASE_NAME ReqToolsBase
  12. #endif /* !REQTOOLS_BASE_NAME */
  13.  
  14. #define rtAllocRequestA(type, taglist) \
  15.     LP2(0x1e, APTR, rtAllocRequestA, ULONG, type, d0, struct TagItem *, taglist, a0, \
  16.     , REQTOOLS_BASE_NAME)
  17.  
  18. #ifndef NO_INLINE_STDARG
  19. #define rtAllocRequest(a0, tags...) \
  20.     ({ULONG _tags[] = { tags }; rtAllocRequestA((a0), (struct TagItem *)_tags);})
  21. #endif /* !NO_INLINE_STDARG */
  22.  
  23. #define rtChangeReqAttrA(req, taglist) \
  24.     LP2(0x30, LONG, rtChangeReqAttrA, APTR, req, a1, struct TagItem *, taglist, a0, \
  25.     , REQTOOLS_BASE_NAME)
  26.  
  27. #ifndef NO_INLINE_STDARG
  28. #define rtChangeReqAttr(a0, tags...) \
  29.     ({ULONG _tags[] = { tags }; rtChangeReqAttrA((a0), (struct TagItem *)_tags);})
  30. #endif /* !NO_INLINE_STDARG */
  31.  
  32. #define rtCloseWindowSafely(win) \
  33.     LP1NR(0x96, rtCloseWindowSafely, struct Window *, win, a0, \
  34.     , REQTOOLS_BASE_NAME)
  35.  
  36. #define rtEZRequestA(bodyfmt, gadfmt, reqinfo, argarray, taglist) \
  37.     LP5A4(0x42, ULONG, rtEZRequestA, char *, bodyfmt, a1, char *, gadfmt, a2, struct rtReqInfo *, reqinfo, a3, APTR, argarray, d7, struct TagItem *, taglist, a0, \
  38.     , REQTOOLS_BASE_NAME)
  39.  
  40. #ifndef NO_INLINE_STDARG
  41. #define rtEZRequest(a0, a1, a2, a3, args...) \
  42.     ({ULONG _args[] = { args }; rtEZRequestA((a0), (a1), (a2), (APTR)_args, (a3));}) /*CHECKME!!!! */
  43. #endif /* !NO_INLINE_STDARG */
  44.  
  45. #ifndef NO_INLINE_STDARG
  46. #define rtEZRequestTags(a0, a1, a2, a3, tags...) \
  47.     ({ULONG _tags[] = { tags }; rtEZRequestA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);}) /* CHECKME */
  48. #endif /* !NO_INLINE_STDARG */
  49.  
  50. #define rtFileRequestA(filereq, file, title, taglist) \
  51.     LP4(0x36, APTR, rtFileRequestA, struct rtFileRequester *, filereq, a1, char *, file, a2, char *, title, a3, struct TagItem *, taglist, a0, \
  52.     , REQTOOLS_BASE_NAME)
  53.  
  54. #ifndef NO_INLINE_STDARG
  55. #define rtFileRequest(a0, a1, a2, tags...) \
  56.     ({ULONG _tags[] = { tags }; rtFileRequestA((a0), (a1), (a2), (struct TagItem *)_tags);})
  57. #endif /* !NO_INLINE_STDARG */
  58.  
  59. #define rtFontRequestA(fontreq, title, taglist) \
  60.     LP3(0x60, ULONG, rtFontRequestA, struct rtFontRequester *, fontreq, a1, char *, title, a3, struct TagItem *, taglist, a0, \
  61.     , REQTOOLS_BASE_NAME)
  62.  
  63. #ifndef NO_INLINE_STDARG
  64. #define rtFontRequest(a0, a1, tags...) \
  65.     ({ULONG _tags[] = { tags }; rtFontRequestA((a0), (a1), (struct TagItem *)_tags);})
  66. #endif /* !NO_INLINE_STDARG */
  67.  
  68. #define rtFreeFileList(filelist) \
  69.     LP1NR(0x3c, rtFreeFileList, struct rtFileList *, filelist, a0, \
  70.     , REQTOOLS_BASE_NAME)
  71.  
  72. #define rtFreeReqBuffer(req) \
  73.     LP1NR(0x2a, rtFreeReqBuffer, APTR, req, a1, \
  74.     , REQTOOLS_BASE_NAME)
  75.  
  76. #define rtFreeRequest(req) \
  77.     LP1NR(0x24, rtFreeRequest, APTR, req, a1, \
  78.     , REQTOOLS_BASE_NAME)
  79.  
  80. #define rtGetLongA(longptr, title, reqinfo, taglist) \
  81.     LP4(0x4e, ULONG, rtGetLongA, ULONG *, longptr, a1, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
  82.     , REQTOOLS_BASE_NAME)
  83.  
  84. #ifndef NO_INLINE_STDARG
  85. #define rtGetLong(a0, a1, a2, tags...) \
  86.     ({ULONG _tags[] = { tags }; rtGetLongA((a0), (a1), (a2), (struct TagItem *)_tags);})
  87. #endif /* !NO_INLINE_STDARG */
  88.  
  89. #define rtGetStringA(buffer, maxchars, title, reqinfo, taglist) \
  90.     LP5(0x48, ULONG, rtGetStringA, UBYTE *, buffer, a1, ULONG, maxchars, d0, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
  91.     , REQTOOLS_BASE_NAME)
  92.  
  93. #ifndef NO_INLINE_STDARG
  94. #define rtGetString(a0, a1, a2, a3, tags...) \
  95.     ({ULONG _tags[] = { tags }; rtGetStringA((a0), (a1), (a2), (a3), (struct TagItem *)_tags);})
  96. #endif /* !NO_INLINE_STDARG */
  97.  
  98. #define rtGetVScreenSize(screen, widthptr, heightptr) \
  99.     LP3(0x78, ULONG, rtGetVScreenSize, struct Screen *, screen, a0, ULONG *, widthptr, a1, ULONG *, heightptr, a2, \
  100.     , REQTOOLS_BASE_NAME)
  101.  
  102. #define rtLockPrefs() \
  103.     LP0(0xa8, struct ReqToolsPrefs *, rtLockPrefs, \
  104.     , REQTOOLS_BASE_NAME)
  105.  
  106. #define rtLockWindow(win) \
  107.     LP1(0x9c, APTR, rtLockWindow, struct Window *, win, a0, \
  108.     , REQTOOLS_BASE_NAME)
  109.  
  110. #define rtPaletteRequestA(title, reqinfo, taglist) \
  111.     LP3(0x66, LONG, rtPaletteRequestA, char *, title, a2, struct rtReqInfo *, reqinfo, a3, struct TagItem *, taglist, a0, \
  112.     , REQTOOLS_BASE_NAME)
  113.  
  114. #ifndef NO_INLINE_STDARG
  115. #define rtPaletteRequest(a0, a1, tags...) \
  116.     ({ULONG _tags[] = { tags }; rtPaletteRequestA((a0), (a1), (struct TagItem *)_tags);})
  117. #endif /* !NO_INLINE_STDARG */
  118.  
  119. #define rtReqHandlerA(handlerinfo, sigs, taglist) \
  120.     LP3(0x6c, ULONG, rtReqHandlerA, struct rtHandlerInfo *, handlerinfo, a1, ULONG, sigs, d0, struct TagItem *, taglist, a0, \
  121.     , REQTOOLS_BASE_NAME)
  122.  
  123. #ifndef NO_INLINE_STDARG
  124. #define rtReqHandler(a0, a1, tags...) \
  125.     ({ULONG _tags[] = { tags }; rtReqHandlerA((a0), (a1), (struct TagItem *)_tags);})
  126. #endif /* !NO_INLINE_STDARG */
  127.  
  128. #define rtScreenModeRequestA(screenmodereq, title, taglist) \
  129.     LP3(0x90, ULONG, rtScreenModeRequestA, struct rtScreenModeRequester *, screenmodereq, a1, char *, title, a3, struct TagItem *, taglist, a0, \
  130.     , REQTOOLS_BASE_NAME)
  131.  
  132. #ifndef NO_INLINE_STDARG
  133. #define rtScreenModeRequest(a0, a1, tags...) \
  134.     ({ULONG _tags[] = { tags }; rtScreenModeRequestA((a0), (a1), (struct TagItem *)_tags);})
  135. #endif /* !NO_INLINE_STDARG */
  136.  
  137. #define rtScreenToFrontSafely(screen) \
  138.     LP1NR(0x8a, rtScreenToFrontSafely, struct Screen *, screen, a0, \
  139.     , REQTOOLS_BASE_NAME)
  140.  
  141. #define rtSetReqPosition(reqpos, newwindow, screen, window) \
  142.     LP4NR(0x7e, rtSetReqPosition, ULONG, reqpos, d0, struct NewWindow *, newwindow, a0, struct Screen *, screen, a1, struct Window *, window, a2, \
  143.     , REQTOOLS_BASE_NAME)
  144.  
  145. #define rtSetWaitPointer(window) \
  146.     LP1NR(0x72, rtSetWaitPointer, struct Window *, window, a0, \
  147.     , REQTOOLS_BASE_NAME)
  148.  
  149. #define rtSpread(posarray, sizearray, length, min, max, num) \
  150.     LP6NR(0x84, rtSpread, ULONG *, posarray, a0, ULONG *, sizearray, a1, ULONG, length, d0, ULONG, min, d1, ULONG, max, d2, ULONG, num, d3, \
  151.     , REQTOOLS_BASE_NAME)
  152.  
  153. #define rtUnlockPrefs() \
  154.     LP0NR(0xae, rtUnlockPrefs, \
  155.     , REQTOOLS_BASE_NAME)
  156.  
  157. #define rtUnlockWindow(win, winlock) \
  158.     LP2NR(0xa2, rtUnlockWindow, struct Window *, win, a0, APTR, winlock, a1, \
  159.     , REQTOOLS_BASE_NAME)
  160.  
  161. #endif /* !_INLINE_REQTOOLS_H */
  162.